<netcondrive> : Connect Network Drive
Maps (connects) a network directory to local drive.
Syntax:
<netcondrive>("Drive", "Net Directory", "User Name", "User Password", Restore)
Drive
Drive you want to map the network directory map to (e.g., "X:"). Keep in
mind it must be one letter followed by : .
Net
Directory
Network directory (for example, "\\server\mydir").
User Name
User name user uses to log on to the machine where the net directory
resides.
User Password
Password user uses to log on to the machine where the net directory resides.
Restore
Restore at next logon: If 1 the drive will be automatically mapped at next
logon.
Example:
<#> This macro maps a network directory to local
drive.
<#>
<cmds>
<netcondrive>("X:","\\server\mzdir","john","jpwd",0)